package org.misalen.web.database.repository.mysql;

import org.misalen.web.database.dao.mysql.impl.BaseMySqlDaoImpl;
import org.misalen.web.database.model.mysql.pro.ProClientVersion;
import org.springframework.stereotype.Repository;

@Repository
public class ProClientVersionRepository extends BaseMySqlDaoImpl<ProClientVersion> {

	public ProClientVersion getByType(String clientType) {
		return get("from ProClientVersion where clientType=?0 order by versionCode desc", new Object[] { clientType });
	}

}